import java.util.Random;

/**
 * @(#)EquationTreeDriver.java
 *
 *
 * @author 
 * @version 1.00 2009/11/24
 */

public class EquationTreeDriver {
        

    public static void main(String[] args) throws Exception {
        Random rand = new Random();
        
        EquationTree e= new EquationTree(rand.nextInt(10) + 1);
        
      //  e.insertNode(new EquationNode("/", null, "4"), e.root.leftChild, true);
        System.out.println("Hello World!");
        e.displayPreorder();
        System.out.println();
        e.displayInorder();
        
        System.out.println("\n" + e.compute(new Team()));
        
    }
}
